<%-- 
  - Author: Abed Yaseen
  - Date: 02-Jan-2012
  - Copyright Notice: TRAKHEES
  - Description: EmployeeDetailsTab.jsp
 --%>
 <%@ include file="/WEB-INF/view/include.jsp"%>

 <div id="EmployeeDetails">
            <fieldset>
            <legend><spring:message code="header.employee_details" /></legend>
            </fieldset>

                <div class="t_form-left">
                <div>
                	<div><form:label path="strPostNo"><spring:message code="label.post_no" /></form:label></div>
                	<div><form:input path="strPostNo" cssClass="t_form-fld-disable" disabled="true"/></div>
                </div>
				
				<div>
	                <div><form:label path="employeeType"><spring:message code="label.employee_type" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="employeeType" items="${employeeTypeList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="employeeType" items="${employeeTypeList}" itemLabel="labelEn" itemValue="id" disabled="true" /></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
                	<div><form:label path="strNameInPassport"><spring:message code="label.name_in_passport" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
                	<div><form:input path="strNameInPassport" cssClass="t_form-fld-disable" disabled="true"/></div>
                </div>
				
				<div>
                	<div><form:label path="strVisaType" ><spring:message code="label.visa_type" /></form:label></div>
                	<div><form:input path="strVisaType" cssClass="t_form-fld-disable" disabled="true" /></div>
                </div>
				
				<div>
					<div><form:label path="strNationality"><spring:message code="label.nationality" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strNationality" items="${countryList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strNationality" items="${countryList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strOriginCity"><spring:message code="label.origin_city" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strOriginCity" items="${cityList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strOriginCity" items="${cityList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
                	<div><form:label path="salary"><spring:message code="label.salary" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
                	<div><form:input path="salary" cssClass="t_form-fld-disable"  disabled="true"/></div>
                </div>
				
				<div>
                	<div><form:label path="strFoodAllowance"><spring:message code="label.food_allowance" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strFoodAllowance" items="${optionList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strFoodAllowance" items="${optionList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strAccommodationStatus"><spring:message code="label.accommodation_status" /></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strAccommodationStatus" items="${accommodationStatusList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strAccommodationStatus" items="${accommodationStatusList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="jobCode"><spring:message code="label.job_code" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="jobCode" items="${jobCodeList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="jobCode" items="${jobCodeList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strPriority"><spring:message code="lablel.priority" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strPriority" items="${priorityList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strPriority" items="${priorityList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strGender"><spring:message code="label.gender" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strGender" items="${genderList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strGender" items="${genderList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strMedicalType"><spring:message code="label.medical_type" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strMedicalType" items="${medicalList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strMedicalType" items="${medicalList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
                
</div>
            <!--form-left-end-->
            <div class="t_form-right">
				<div>
	                <div><form:label path="strEmployeeStatus"><spring:message code="label.employee_status" /></form:label></div>
	                <div><form:select path="strEmployeeStatus" style="width:150px;" disabled="true">
	                    <form:option value="V">Vacant</form:option>
	                </form:select></div>
                </div>
				
				<div>
	                <div><form:label path="employeeSource"><spring:message code="label.employee_source" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <div><form:select path="employeeSource" style="width:150px;" disabled="true">
	                    <form:option value="0"><spring:message code="menu.label.employment_visa_outside" /></form:option>
	                    <form:option value="1"><spring:message code="menu.label.employment_visa_inside" /></form:option>
	                    <form:option value="2"><spring:message code="menu.label.internal_transfer" /></form:option>
	                    <form:option value="3"><spring:message code="menu.label.transfer_sponsorship" /></form:option>
	                </form:select></div>
                </div>
				
				<div>
	                <div><form:label path="rpPeriod"><spring:message code="label.RP_Period" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	 	            <div><form:select path="rpPeriod" style="width:150px;" disabled="true">
	                    <form:option value="3" selected="selected">3 Years</form:option>
	                </form:select></div>
                </div>
                
                <div>
	                <div><form:label path="strEntryPermitCollectionMethod"><spring:message code="label.entry_permit_collection_method" /></form:label></div>
	                <div><form:select path="strEntryPermitCollectionMethod" style="width:150px;" disabled="true">
	                    <form:option value="Online">Online</form:option>
	                    <form:option value="Offline">Offline</form:option>
	                </form:select></div>
                </div>
                
                <div>
                	<div><form:label path="airFare"><spring:message code="label.air_fare" /></form:label></div>
                	<div><form:input path="airFare" cssClass="t_form-fld-disable"  disabled="true"/></div>
                </div>
				
				<div>
                	<div><form:label path="strOtherAllowance"><spring:message code="label.other_allowance" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
                	<div><form:input path="strOtherAllowance" cssClass="t_form-fld-disable"  disabled="true"/></div>
                </div>
				
				<div>
	                <div><form:label path="strAccommodationAllowance"><spring:message code="label.accommodation_allawance" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
					<c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strAccommodationAllowance" items="${optionList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strAccommodationAllowance" items="${optionList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strTransportation"><spring:message code="label.transportation" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strTransportation" items="${optionList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strTransportation" items="${optionList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
		            <div><form:label path="strReligion"><spring:message code="label.religion" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
		            <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strReligion" items="${religionList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strReligion" items="${religionList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strMaritalStatus"><spring:message code="label.material_status" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strMaritalStatus" items="${maritalList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strMaritalStatus" items="${maritalList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
	                <div><form:label path="strBankGuranteeFlag"><spring:message code="label.bank_qurantee_flag" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strBankGuranteeFlag" items="${BGFlagList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strBankGuranteeFlag" items="${BGFlagList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
				<div>
					<div><form:label path="strIDCardFlag"><spring:message code="label.id_card_flag" /><span class="required-field"><spring:message code="label.field.required" /></span></form:label></div>
	                <c:choose>
						<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
							<div><form:select path="strIDCardFlag" items="${optionList}" itemLabel="labelAr" itemValue="id" disabled="true"/></div>
						</c:when>
						<c:otherwise>
							<div><form:select path="strIDCardFlag" items="${optionList}" itemLabel="labelEn" itemValue="id" disabled="true"/></div>
						</c:otherwise>
					</c:choose>
				</div>
				
            </div>
            
          <!--form end-->
</div>